Skip to content

Turn rich content on by default, fetching external content on demand#4069

Merged
bbatsov merged 1 commit into
masterfrom
rich-content-revival
Jul 3, 2026
Merged

Turn rich content on by default, fetching external content on demand#4069
bbatsov merged 1 commit into
masterfrom
rich-content-revival

Conversation

@bbatsov

@bbatsov bbatsov commented Jul 3, 2026

Copy link
Copy Markdown
Member

The client half of the rich-content revival (pairs with clojure-emacs/cider-nrepl#1025, see #2825 for the history).

Evaluating a File or URL-shaped result no longer auto-fires a slurp request - the behavior that got the feature disabled back in 0.25. The REPL now renders the URL plus a [show content] button and nothing is transferred (or connected to) until it's pressed. Inline image results are unaffected: they involve no IO and still render automatically.

With the danger gone, cider-repl-use-content-types defaults to t, so images finally render in the REPL out of the box. Docs updated accordingly, including the troubleshooting entry that used to recommend disabling the feature.

Evaluating a File or URL-shaped result no longer auto-fires a slurp
request (the behavior that got the feature disabled back in 0.25, see
#2825).  The REPL now renders the URL plus a [show content] button and
nothing is transferred until it's pressed.  Inline image results are
unaffected - they involve no IO and still render automatically.

With the danger gone, cider-repl-use-content-types defaults to t, so
images finally render in the REPL out of the box.  Best paired with
cider-nrepl 0.62+, which hardens the server side (scheme allowlist,
size caps, graceful fetch errors).
@bbatsov bbatsov merged commit 8eee7b0 into master Jul 3, 2026
12 checks passed
@bbatsov bbatsov deleted the rich-content-revival branch July 3, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant